import request from '@/utils/request'

/*守灵加载开始*/
//守灵信息加载数据加载
export function loadWakeMournWithId(data) {
  return request({
    url: '/api/wake-mourn/load-wake-mourn-with-id',
    method: 'post',
    data
  })
}
//守灵数据保存
export function saveWakeMourn(data) {
  return request({
    url: '/api/wake-mourn/save-wake-mourn',
    method: 'post',
    data
  })
}
//删除守灵数据
export function deleteWakeMournWithId(data) {
  return request({
    url: '/api/wake-mourn/delete-wake-mourn-with-id',
    method: 'post',
    data
  })
}

//获得守灵厅名称接口
export function loadWakeHallWithDate(data) {
  return request({
    url: '/api/wake-mourn/load-wake-hall-with-date',
    method: 'post',
    data
  })
}

//守灵任务，界面权限验证及基础数据加载
export function loadWakeMournAll(data) {
  return request({
    url: '/api/wake-mourn/load-wake-mourn-all',
    method: 'post',
    data
  })
}
/*守灵加载结束*/


/*告别加载开始*/
//告别信息加载数据加载
export function loadFarewellMournWithId(data) {
  return request({
    url: '/api/farewell-mourn/load-farewell-mourn-with-id',
    method: 'post',
    data
  })
}
//告别数据保存
export function saveFarewellMourn(data) {
  return request({
    url: '/api/farewell-mourn/save-farewell-mourn',
    method: 'post',
    data
  })
}
//删除告别数据
export function deleteFarewellMournWithId(data) {
  return request({
    url: '/api/farewell-mourn/delete-farewell-mourn-with-id',
    method: 'post',
    data
  })
}

//获得告别厅名称接口
export function loadFarewellHallWithDate(data) {
  return request({
    url: '/api/farewell-mourn/load-farewell-hall-with-date',
    method: 'post',
    data
  })
}

//告别任务，界面权限验证及基础数据加载
export function loadFarewellMournAll(data) {
  return request({
    url: '/api/farewell-mourn/load-farewell-mourn-all',
    method: 'post',
    data
  })
}
/*告别加载结束*/